package com.zjw.xm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author zjw1
 * @since 2022-08-03
 */
@TableName("cr_book")
public class CrBook implements Serializable {

    private static final long serialVersionUID = 1L;



    @TableField(exist = false)
    private int count;
    public int getCount() {return count;}
    public void setCount(int count) {this.count = count;}

    @TableField(exist = false)
    private int cnt;

    public int getCnt() {
        return cnt;
    }

    public void setCnt(int cnt) {
        this.cnt = cnt;
    }

    /**
     * 主键
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 书名
     */
      private String name;

      /**
     * 大类
     */
      private Integer category1;

      /**
     * 中类
     */
      private Integer category2;

      /**
     * 小类
     */
      private Integer category3;

    private String pic;

      /**
     * 价格
     */
      private Float price;

      /**
     * 作者
     */
      private String author;

      /**
     * 出版社
     */
      private String publisher;

      /**
     * 出版时间
     */
      private LocalDate pressDate;

      /**
     * 发行编号
     */
      private String isbn;

      /**
     * 版次
     */
      private String pressSn;

      /**
     * 页数
     */
      private String pages;

      /**
     * 字数
     */
      private String words;

      /**
     * 印刷时间
     */
      private String printTime;

      /**
     * 开本
     */
      private String bookSize;

      /**
     * 纸张
     */
      private String paper;

      /**
     * 印次
     */
      private String printSn;

      /**
     * 包装
     */
      private String packing;

      /**
     * 版式
     */
      private String format;

      /**
     * 编辑推荐
     */
      private String abst;

      /**
     * 内容简介
     */
      private String contentIntro;

      /**
     * 作者简介
     */
      private String authorIntro;

      /**
     * 目录
     */
      private String catalog;

      /**
     * 书摘
     */
      private String extract;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public String getName() {
        return name;
    }

      public void setName(String name) {
          this.name = name;
      }
    
    public Integer getCategory1() {
        return category1;
    }

      public void setCategory1(Integer category1) {
          this.category1 = category1;
      }
    
    public Integer getCategory2() {
        return category2;
    }

      public void setCategory2(Integer category2) {
          this.category2 = category2;
      }
    
    public Integer getCategory3() {
        return category3;
    }

      public void setCategory3(Integer category3) {
          this.category3 = category3;
      }
    
    public String getPic() {
        return pic;
    }

      public void setPic(String pic) {
          this.pic = pic;
      }
    
    public Float getPrice() {
        return price;
    }

      public void setPrice(Float price) {
          this.price = price;
      }
    
    public String getAuthor() {
        return author;
    }

      public void setAuthor(String author) {
          this.author = author;
      }
    
    public String getPublisher() {
        return publisher;
    }

      public void setPublisher(String publisher) {
          this.publisher = publisher;
      }
    
    public LocalDate getPressDate() {
        return pressDate;
    }

      public void setPressDate(LocalDate pressDate) {
          this.pressDate = pressDate;
      }
    
    public String getIsbn() {
        return isbn;
    }

      public void setIsbn(String isbn) {
          this.isbn = isbn;
      }
    
    public String getPressSn() {
        return pressSn;
    }

      public void setPressSn(String pressSn) {
          this.pressSn = pressSn;
      }
    
    public String getPages() {
        return pages;
    }

      public void setPages(String pages) {
          this.pages = pages;
      }
    
    public String getWords() {
        return words;
    }

      public void setWords(String words) {
          this.words = words;
      }
    
    public String getPrintTime() {
        return printTime;
    }

      public void setPrintTime(String printTime) {
          this.printTime = printTime;
      }
    
    public String getBookSize() {
        return bookSize;
    }

      public void setBookSize(String bookSize) {
          this.bookSize = bookSize;
      }
    
    public String getPaper() {
        return paper;
    }

      public void setPaper(String paper) {
          this.paper = paper;
      }
    
    public String getPrintSn() {
        return printSn;
    }

      public void setPrintSn(String printSn) {
          this.printSn = printSn;
      }
    
    public String getPacking() {
        return packing;
    }

      public void setPacking(String packing) {
          this.packing = packing;
      }
    
    public String getFormat() {
        return format;
    }

      public void setFormat(String format) {
          this.format = format;
      }
    
    public String getAbst() {
        return abst;
    }

      public void setAbst(String abst) {
          this.abst = abst;
      }
    
    public String getContentIntro() {
        return contentIntro;
    }

      public void setContentIntro(String contentIntro) {
          this.contentIntro = contentIntro;
      }
    
    public String getAuthorIntro() {
        return authorIntro;
    }

      public void setAuthorIntro(String authorIntro) {
          this.authorIntro = authorIntro;
      }
    
    public String getCatalog() {
        return catalog;
    }

      public void setCatalog(String catalog) {
          this.catalog = catalog;
      }
    
    public String getExtract() {
        return extract;
    }

      public void setExtract(String extract) {
          this.extract = extract;
      }

    @Override
    public String toString() {
        return "CrBook{" +
              "id=" + id +
                  ", name=" + name +
                  ", category1=" + category1 +
                  ", category2=" + category2 +
                  ", category3=" + category3 +
                  ", pic=" + pic +
                  ", price=" + price +
                  ", author=" + author +
                  ", publisher=" + publisher +
                  ", pressDate=" + pressDate +
                  ", isbn=" + isbn +
                  ", pressSn=" + pressSn +
                  ", pages=" + pages +
                  ", words=" + words +
                  ", printTime=" + printTime +
                  ", bookSize=" + bookSize +
                  ", paper=" + paper +
                  ", printSn=" + printSn +
                  ", packing=" + packing +
                  ", format=" + format +
                  ", abst=" + abst +
                  ", contentIntro=" + contentIntro +
                  ", authorIntro=" + authorIntro +
                  ", catalog=" + catalog +
                  ", extract=" + extract +
              "}";
    }
}
